var welcomeDao = require('../dao/welcomeDao');
/* GET home page. */
module.exports = function(app){
  app.get('/lucky', function(req, res) {
    res.redirect('/welcome.html');
  });
  app.post('/luckList',function(req,res){
    welcomeDao.queryAll(req,res);
  })
};
